package org.demo.kafka.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
public class User implements Serializable {
    private Long id;
    private String name;
    private Integer age;

    /**
     * transient 关键字修饰的字段不会被序列化
     */
    private transient String userDesc;
    private String guid;
    private Date createTime;
}
